﻿namespace ManagerClinic
{
    using System;
    using System.Collections.Generic;
    using System.Windows.Forms;
    using DevExpress.LookAndFeel;
    using ManagerClinic.Modules;
    using ManagerClinic.KhamBenh;

    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            DevExpress.Skins.SkinManager.EnableFormSkins();
            DevExpress.UserSkins.BonusSkins.Register();

            UserLookAndFeel.Default.SetSkinStyle("DevExpress Style");

            // Protect file app.config
            EncryptConnectionString.ProtectConnectionString();

            Application.Run(new frmMain());
        }
    }
}